home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3223 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Reading keys from the keyboard
  5. Date: Sat, 27 Jan 96 00:07:40 GMT
  6. Organization: none
  7. Message-ID: <822701260snz@genesis.demon.co.uk>
  8. References: <0l2HH=G00YUw8HYNZY@andrew.cmu.edu>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <0l2HH=G00YUw8HYNZY@andrew.cmu.edu>
  15.            jlaf+@andrew.cmu.edu "Jeff K Landauer" writes:
  16.  
  17. >I'm trying to get rid of the delay after the first key is pressed and
  18. >held down, so I can get a steady stream of input into my c program. 
  19. >Does anyone know how to do this?  Someone told me there was an interrupt
  20. >that would somehow solve this problem, but I don't know it.  Any help
  21. >would be greatly appreciated.
  22.  
  23. The C language has no keyboard support therefore to solve this you need to
  24. use facilities provided by your particular system. You don't specify what
  25. that is but 'interrupt' sounds like a DOSism so try comp.os.msdos.programmer.
  26.  
  27. -- 
  28. -----------------------------------------
  29. Lawrence Kirby | fred@genesis.demon.co.uk
  30. Wilts, England | 70734.126@compuserve.com
  31. -----------------------------------------
  32.